package com.shfl.task.logic.mapper;

import com.shfl.task.logic.bean.TaskLog;
import com.shfl.task.logic.model.response.TaskLogResponse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface TaskLogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TaskLog record);

    int insertSelective(TaskLog record);

    TaskLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TaskLog record);

    int updateByPrimaryKey(TaskLog record);

    int batchInsert(@Param("list") java.util.List<TaskLog> list);

    int batchInsertSelective(@Param("list") java.util.List<TaskLog> list, @Param("selective") TaskLog.Column... selective);

    List<TaskLogResponse> findList(Map<String, Object> objectMap);
}